package com.joysuch.wwyt.monitoringcenter.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author ZhaoQiuWei
 * @Date 2021/5/10 9:02
 */
@Data
@ApiModel("报警一键处理/忽略")
public class CenterAlarmMessageHandlerBean implements Serializable {

    @ApiModelProperty("0 重大危险源 ,1 风险分区 , 2 巡检排查 , 3 AI报警,4 人员在岗在位报警,5作业报警,6车辆报警")
    @NotNull(message = "报警类型不能为空")
    private Integer type;

    @ApiModelProperty("危险源报警:备注  风险分区报警:处理说明")
    private String msg;

    @ApiModelProperty("报警原因")
    private String alarmReason;

    @ApiModelProperty("处理人")
    private Long handleBy;

    @ApiModelProperty("0 处理  1忽略")
    @NotNull(message = "请选择处理方式")
    private Integer handleFlag;
}
